Skip to content

extract key schedule logic to spdm_crypt_lib for FIPS CAVP test#3463

Merged
jyao1 merged 1 commit intoDMTF:mainfrom
Li-Aaron:fix-3082-2
Feb 10, 2026
Merged

extract key schedule logic to spdm_crypt_lib for FIPS CAVP test#3463
jyao1 merged 1 commit intoDMTF:mainfrom
Li-Aaron:fix-3082-2

Conversation

@Li-Aaron
Copy link
Contributor

@Li-Aaron Li-Aaron commented Jan 7, 2026

Fix: #3082

In this PR

  • Extract key schedule logic from spdm_secure_message_lib to new APIs in spdm_crypt_lib
    • libspdm_generate_handshake_key
    • libspdm_generate_data_key

EMU test: DMTF/spdm-emu#462

@Li-Aaron Li-Aaron changed the title Add FIPS CAVP and self-test for SPDM Key Schedule. Extract key schedule logic from spdm_secure_message_lib to new APIs in spdm_crypt_lib Jan 7, 2026
@Li-Aaron Li-Aaron marked this pull request as ready for review January 8, 2026 01:27
@Li-Aaron Li-Aaron force-pushed the fix-3082-2 branch 2 times, most recently from 4da0f13 to 037976e Compare January 8, 2026 09:28
@Li-Aaron Li-Aaron marked this pull request as draft January 12, 2026 03:10
Signed-off-by: Aaron Li <aaron.li@intel.com>
@Li-Aaron Li-Aaron changed the title Extract key schedule logic from spdm_secure_message_lib to new APIs in spdm_crypt_lib extract key schedule logic to spdm_crypt_lib for FIPS CAVP test Jan 28, 2026
@Li-Aaron Li-Aaron marked this pull request as ready for review January 28, 2026 03:29
@jyao1
Copy link
Member

jyao1 commented Feb 9, 2026

@steven-bellock would you please review?

@steven-bellock
Copy link
Contributor

From the meeting today: this is for CAVP visibility to expose cryptography functions. It does not perform any self-test.

@steven-bellock steven-bellock requested a review from jyao1 February 9, 2026 17:48
@jyao1 jyao1 merged commit 9cdcf20 into DMTF:main Feb 10, 2026
97 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add FIPS CAVP test capability for SPDM Key Schedule.

3 participants

Comments